package com.ext.github;

import com.ext.github.pojo.Repo;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

import java.util.List;

/**
 * Created by yangfeng on 16-12-19.
 *
 * SA: http://www.58maisui.com/2016/06/20/a-259/
 */
public interface GitHubService {
    @GET("users/{user}/repos")
    Call<List<Repo>> listRepos(@Path("user") String user);
}
